package cn.item.buckle.business.pojo;

public class MonitorCarConversionRate {

	private Long taskId;
	private String configMonitorList;
	private String firstMonitorList;
	private String secondMonitorList;
	private Long firstMonitorNum;
	private Long secondMonitorNum;
	private Float conversionRate;

	public MonitorCarConversionRate() {}

	public MonitorCarConversionRate(long taskId, String configMonitorList) {
		this.taskId = taskId;
		this.configMonitorList = configMonitorList;
	}

	public long getTaskId() {
		return taskId;
	}

	public void setTaskId(long taskId) {
		this.taskId = taskId;
	}

	public String getConfigMonitorList() {
		return configMonitorList;
	}

	public void setConfigMonitorList(String configMonitorList) {
		this.configMonitorList = configMonitorList;
	}

	public String getFirstMonitorList() {
		return firstMonitorList;
	}

	public void setFirstMonitorList(String firstMonitorList) {
		this.firstMonitorList = firstMonitorList;
	}

	public String getSecondMonitorList() {
		return secondMonitorList;
	}

	public void setSecondMonitorList(String secondMonitorList) {
		this.secondMonitorList = secondMonitorList;
	}

	public long getFirstMonitorNum() {
		return firstMonitorNum;
	}

	public void setFirstMonitorNum(Long firstMonitorNum) {
		this.firstMonitorNum = firstMonitorNum == null ? 0L : firstMonitorNum;
	}

	public long getSecondMonitorNum() {
		return secondMonitorNum;
	}

	public void setSecondMonitorNum(Long secondMonitorNum) {
		this.secondMonitorNum = secondMonitorNum == null ? 0L : secondMonitorNum;
	}

	public float getConversionRate() {
		return conversionRate;
	}

	public void setConversionRate(float conversionRate) {
		this.conversionRate = conversionRate;
	}

	public void setConversionRate() {
		this.conversionRate = this.firstMonitorNum.floatValue() / this.secondMonitorNum.floatValue();
	}
}
